System and method to support subscription based Infrastructure and software as a service

ABSTRACT

A mini-cloud system has been described to enable subscription or service model for computing infrastructure, software and Digital content. The mini-cloud system work as a pipe line for information delivery connecting end user, infrastructure provider, content provider, and retailer offering automatic provisioning of infrastructure, content lifecycle management, automatic upgrade, servicing, license managements based on subscription model. Mini-cloud system uses a subscription management component, virtualization host to back computing environment, then add routing component to connect to backend cloud infrastructure along with a digital content delivery framework. The system allow a user to subscribe a computing environment, preferred software applications, and digital content like move and pay a monthly utility bill.

TECHNICAL FIELD

The present invention relates to a system and method that rearrange a modem or router and computer into an access gateway, then connect to a back end services to transform computing platform into a subscription based services.

CROSS REFERENCE OF RELATED APPLICATION

This application cross reference U.S. provisional patent application Ser. No. 60/985,210 titled “A Framework and Platform to support subscription based software service and information” filed on the Nov. 3, 2007, the disclosure of which is incorporated by reference herein. This Application cross reference U.S. provisional patent application Ser. No. 61/263,411 titled “Home access gateway to deliver virtual desktop to home user”, filed on the Nov. 23, 2009, the disclosure of which is incorporated by reference herein. The application cross reference U.S. provisional patent application Ser. No. 61/291,916 titled “Thin device to deliver computing power”, filed on the Jan. 3, 2010, the disclosure of which is incorporate by reference herein. The application cross reference U.S. provisional patent application Ser. No. 60/261176 titled “A method and system to support subscription based software service, filed on the Jan. 1, 2001, the disclosure of which is incorporated by reference herein.

BACKGROUND OF THE INVENTION

Internet has changed the landscape of computing environment in many ways. More conventional software applications such as email word processing packages are becoming web centric that can run on a computer without any installation. Smaller form factor netbook such as Intel atom processor based devices and other thin devices based on ARM processor are becoming popular because those devices are more cost effective and consume less power. There are some thin client devices as well that offer lock down environment. User uses those light weighted power efficient devices for complementary uses along with their other heavy weighted desktop computers. Thin client are not yet there to replace full desktop. Users still need their desktop computers for CPU intensive program such as video processing applications games that need to deliver high-end graphics. With multiple devices, user eventually end-up with more physical devices to meet their different use cases. Regular desktop at home is difficult to access from remote site without paying 3^(rd) party a service charge, consumes a lot of power and offer little backup disaster recovery support in the event of failure. The only way user can upgrade the system is replacing the system.

Also branch offices and small offices has similar need of an home users but in extended form where their computing needs need to be integrated into their head office or central infrastructure like data center, or large service provider. Also in case of small offices, their computing environment need to be more elastic, expand and scale on demand on matter of hours instead of weeks as it would take to procure new equipment.

Virtualization and cloud computing would start the next level of computing evolution. It brings a lot of computing benefit to end users, like elastic computing where more computing needs can be supported on demand. Cloud and virtualization solution typically try to centralize most of the computing needs into a data center, or some locations controlled or owned by a services provider. Those kind of centralization scale better with server based web centric computing. For consumer centric computing where user need full access to a rich desktop or rich application that need to deliver very high experience, those environment need to be created close to users. Data center based computing might incur high latency to deliver high-end graphics.

It would have been nicer if user could consolidate some of their endpoints and have a better service that allow them to subscribe a computing space that offer the CPU power user needs and can scale up or down based on demand, can be accessed remotely from any point and accessible to user without needing any computer and can be paid for it just like a utility bill or bundled with ISP services. Here we describe a new system and method to transform users computing needs into a subscription based services. The proposed method transform a modem or a router into a mini-cloud virtualization host that is small enough to sit close to users premise, at the same time work as a gate way to some central computing environment. Effectively users get the flavor or cloud, with some experience as if needed infrastructure sit onsite or local. The mini-cloud gateway serves most of the users computing need and access the cloud to support some needs that can't be handled with onsite resources. The system combines infrastructure, software and digital content under the same subscription model.

SUMMARY OF THE INVENTION

The proposed invention outlines a mini-cloud system that rearrange a modem or router and computer into an access gateway, then connect to a back end services to transform computing platform into a subscription based computing model where software digital content and computing environment become another utility services like internet services to end users. The new mini-cloud system serving as a consolidated access gateway works as a hypervisor host that run one or more computing environments to deliver different computing services to end users including desktop, laptop, networking infrastructure, game, Digital video recorder, media servers etc. The mini-cloud system can connect to backend services to bring more services that can't be served using onsite resources.

The simplest form of mini-cloud can be a modem with additional circuit and component to process thin client software like virtual network computing (VNC) client that would allow user to connect to another remote desktop managed by the internet service provider that backs VNC server. When users powers on mini-cloud system, it automatically connect to remote desktop after some device level authentications. Users simply connect to their monitor to the mini-cloud system which is just like a DSL modem and get access to a full desktop.

For a simple mini-cloud system, the main element of this invention is a consolidated DSL router that combines router functionality and small computing functionality in the same box with ports to connect to a monitor and user input devices. The box becomes a smart DSL, or smart internet access gateway. In simplest form of mini-cloud, effectively everything can be consolidated into a single chip in the form of System on Chip (SoC) or implemented by a single board computer (SBC) with a modem circuit. A more complex form of mini-cloud is a full blown computer working as a hypervisor host capable of running few instances of guest OS called virtual machine (VM) with some supporting modules and circuits. The processor on single board computer is light weighted and can be used to process part of modem operations in software. This would allow building a simpler modem circuit using the power of the processor in the box that can handle some function related to modem. SBC or SoC is capable to run VNC like client software. SBC or SoC can be replaced by a new H/W that can implement a new protocol outlined in this disclosure.

A more complex form of mini-cloud system will have router components, a hypervisor host with multi-core multi-processor system that can host many guests computing platform. A mini-cloud system will have a subscription management application administrator or user can use to manage resources offered by mini-cloud systems along with more subscription based resources mini-cloud system can access. The resources are defined as software, digital content such as movie, game applications, computing infrastructure such as a system with Intel corei7, computing platform such as OS with SQL and Windows 7, networking infrastructure such as 2 systems with a private network connection etc. Since the amount of resources can be few in numbers to few hundreds or thousands in number with various type of resources, mini-cloud scale with different needs as it holds some resources locally and reach out to back end cloud for more resources. Local resources might be more efficient and different mini-cloud system can be built with different set of resources.

The disclosure also includes an example implementation of Port Extension Protocol (PEP) to implement mini-cloud systems with terminals. The protocol shows that the various thin terminals can be supported with Mini-cloud systems. PEP can be used in place of VNC or any remote protocol to handle terminal efficiently. PEP can be used in two tier solution where in the first tier, thin terminals are connected to on premise mini-clouds with very fast network link and the communication over 1swt tier uses PEP. In 2^(nd) tier, where thin terminal need to connect to a backend infrastructure over a slower link through mini-cloud system. The slower link might use anther protocols or some variations of PEP specifically designed for slower link.

The disclosure also includes a section to describe a software and digital content subscription framework. The framework simply implements an exemplary subscription model that can be integrated with mini-cloud system that allows a user to subscribe infrastructure, platform such as OS or Data base, software and digital content using the same systems.

Few exemplary embodiments show additional operational steps and work flows to demonstrate the various capabilities of a mini-cloud system. Those sections also show how different thin terminals would work with mini-cloud systems.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1: A typical settings for home users using mini-cloud in place of a DSL modem

FIG. 2: A typical settings for small business or branch office

FIG. 3: Mini Cloud architecture

FIG. 4.1: Cloud Cache component

FIG. 4.2: Mini cloud host with thin client

FIG. 5: steps user take to use mini-cloud systems

FIG. 6: steps user take to use mini-cloud systems for home entertainment

FIG. 7: steps administrator takes to setup branch office or a small office

FIG. 8: Mini-cloud modem with USB connected Terminals

FIG. 9: Mini-cloud modem with two terminals

FIG. 10: Mini-cloud modem with terminal with projector

FIG. 11: Mini-cloud modem with thin laptop

FIG. 12: Thin laptop with a power adapter where power adapter contains H/W enough to deliver laptop OS environments

FIG. 13: Thin laptop connect to guest OS with a mobile phone

FIG. 14: Thin terminal acting as a game console where game console environment run on mini-cloud system or in the cloud

FIG. 15: Mobile phone are being used as a thin terminal, a mobile OS environment are running on mini-cloud host

FIG. 16: mini-cloud based cloud services

FIG. 17: Different user's uses mini cloud based infrastructure and software as a service

FIG. 18: codec array architecture used in mini-cloud or cloud infrastructure

FIG. 19: Mini cloud host connecting different clients

FIG. 20: Mini-cloud encoder server processing display streams from mini-cloud host

FIG. 21: Mini-cloud VM guest with dual remote stack

DETAIL DESCRIPTION OF THE INVENTION

This section explains how the system would operate with some examples. In a typical business workflow, an ISP would manufacture a new set of DSL router or the internet gateway and lease that to its subscriber as part of an upgraded subscription plan. The upgraded subscription plan contains the desktop service plan that would allow user to connect a remote desktop using the DSL router in a transparent way so that user feels that the DSL router is in fact his computer. When user subscribes the plan, a technician would go to users home and install all the wiring and install the router. User or technician would simply connect users monitor keyboard and mouse. Technician would create user account with desktop service and configure it using the tool available from the router box. Similar tool is available on online portal as well where user can login and configure their desktop service plan.

On the backend, ISP will build its own data center or subscribe infrastructure from another provider. ISP will manage a broker service that would be the 1^(st) point of contact when user power on the DSL router. The broker service will recognize which device is trying to connect and which user is registered against that devices. The broker service component that would access the users account, retrieve all the user's desktop configuration, create a desktop environment for the user that matches all the needed configuration and allow the user to connect to the desktop using some protocol both desktop and DSL router client access program understand. The simplest embodiment might be DSL router is running a Microsoft RDP client that connect to a server on the backend where the server is created and selected by the broker service.

When user need a more powerful machine, user use some tool on his desktop or use some ISP provided portal to access user account and set that user need certain configuration of desktop for certain days. Every time user connect to remote desktop, broker service checks those parameters and if user need a higher configuration desktop it creates that for user.

For better power management and efficient use of back end resources and offer lower cost to user ISP might run many desktop sessions on a single server. Sometimes light weighted application can be launched such as web browser and email application instead of launching the whole OS specific for user. In some cases, some application can be launched inside the DSL router to leverage router resources even more. However, those operation is in a transparently.

In another embodiment, a company without being Internet service provider can offer the desktop services. In this can they can offer a gateway device without the DSL modem part. The device simply becomes a slim down version of the DSL gateway with some additional functionality. When powered on, it uses the existing internet connection to connect a broker service managed by the company. The broker service create remote desktop and deliver that to user.

In general, ISP or provider will manage its own datacenter for the infrastructure. The backend infrastructure that supports remote desktop services is expandable. Any user or 3^(rd) party company with high network connection can add some computer resources to the backend infrastructure with a secure virtual private network and creating a virtual environment that can be managed remotely by the infrastructure provider. For example a home user might have a powerful machine with 20 cores. It can create an environment that can partition his system and lease it back to the backend infrastructure provider when user doesn't need those resources. This becomes analogous to power generation where home user can generates electricity and unused electricity can be given back to the main grid where user makes money.

A subscription management component is used to manage subscription plans and resources in mini-cloud systems. This component can have management interface in mini-cloud system user can interact to basic resource management. Subscription management components allow user to create his subscription account, attach a leased mini-cloud system, create or provision ne VM and attach to his subscription plan, add new software resources and attach them to a particular VM, etc. A billing components can look at data in users account managed by subscription management component and suggest how much user would need to spend based on resources assigned to the subscription plan.

A billing components can looks at data how many resources users are using, how frequently they are using and create a bill to be charged to the user.

Mini-cloud systems differ from other cloud system like EC2 from Amazon or Azure from Microsoft. EC2 and Azure are kind of one tire solution where terminals typically another computer equipped with full blown operating systems and H/W directly access cloud resources. Mini-cloud systems is a two tier solution in 1^(st) tier it replaces a full computer with a terminal while offering full computing power. In 2^(nd) tier, those terminal can access back end cloud resources. Those back end cloud resources can be provided by EC2 or Azure. So essentially, mini-cloud is a complementary solution to EC2 or Azure.

DETAIL DESCRIPTION OF THE INVENTION WITH FIGURES

Figure one shows a typical setting how a mini-cloud can be used in home environment to serve the computing need of a home. A typical home can have several computing devices such as laptop, desktop, digital video recorder, tablet devices, kids' computer, Game terminal etc.

Block 100 represent mini-cloud devices, mini-cloud center mini-cloud host, mini-cloud emulator as referenced in this disclosure. This works as a bridge between back end cloud represented in block 600 and all different terminals such as 200, 300, 400, 700, 800, 900 and 810. The architecture of this block is described in a later section.

Block 600 represented the actual cloud that offers more infrastructure resources and management solution not available in mini-cloud center. Mini-cloud center can be considered as an infrastructure cache where majority of user's infrastructure needs are supported locally and reach out to actual cloud when need can't be full filled. Block 600 is a collection of many units of mini-cloud centers with more management pieces. It contains a subscription management application user can access.

Block 610 represents a subscription management application that can be as simple as a web application. User can access to the application from any computer or using any thin terminals. To access the application simply sign on using their credentials. When user makes a subscription from a cloud service provider, it needs to assign at least one mini-cloud center whose profile would be stored in a database. Management app access profile database to retrieve associated mini-cloud center configuration and use those information to decide on an infrastructure subscription needs.

Block 200 represents a thin laptop that can replace a regular laptop. Thin laptop contains just display screen, and input pads. Main laptop storage, CPU is not needed that reduces the weight, power rating and price significantly. Also thin laptop need doesn't need any motherboard. It just needs a wireless or networking stack to connect to mini cloud host. Since it doesn't need any CPU or storage it can run for a very long time. Also the processing power of thin laptop is not limited by its own CPU rather it consumes CPU on mini-cloud host.

When user press on power button on thin laptop, it try to run a small configuration program for the 1^(st) time. The configuration program wouldn't run in subsequent run if no change in the environment is detected. Configuration program would try to setup its connection and auto discovers mini-cloud host using some protocol both thin terminal and mini-cloud understand. The auto discovery part can be skipped it the mini-cloud and terminals are pre-configured to communicate to each other once they are within communication range.

Once thin terminal connect to mini-cloud host, it can try will authenticate that the device is allowed to connect. Authentication part can use some device ID or terminal ID. The authentication process can also ask user to add some password. Once the devices is authenticated, the device request mini-cloud host to give a list of computing environment it can connect to unless it is preconfigured in a policy that tells a particular thin laptop can connect to a particular virtual machine running on the mini-cloud host. If no computing environ exists, mini-cloud can create a new computing environment and attach to the thin laptop. The creation part of the VM is guided by a template and policy that dictate how the end VM would look like.

Once thin laptop connect to the VM, user gets its typical log-in screen like windows and user use them as if they are using a regular laptop.

Block 300 is a terminal for a desktop that works very much the same way block 200 thin laptop does.

Block 400 represents a tablet terminal which differs from thin laptop by its form factor. Tablet typically use its screen as touch screen input devices, it might need different computing environment for its usability issues than the typical laptop or desktop. For thin tablet mini-cloud host would simply create a virtual environment that works better with the display and inputs tablet has. Block 400 can represent a mobile phone as well where it connects to a virtual mobile OS environment running under emulator on mini-cloud host.

Block 500 represents connection between mini-cloud center and backend cloud. The connection can be a regular DSL line, fiber optics line or even a wireless connection. The speed of the link will be used to decide what environment can be run on mini-cloud center and what can be pushed to cloud. A slower link might force to use more infrastructures locally that might suggest user to install or lease high-end mini-cloud center with more capability.

Block 700 is a TV terminal that can connect to other terminal such as block 900 representing DVR and block 800 representing game terminal. In another embodiment block 700 can contains enough circuit to replace a game terminal or VDR terminal.

Block 800 is a game terminal that works very much the same way other thin terminal works. Game terminal simply replaces Play station or XBOX kind of devices from living room making the footprint very small. Also a single terminal can connect multiple game environments that allow a user to run both XBOX and PlayStation games without buying two separate game consoles. The way game terminal works is, at power on it connects to a game environment running on a mini-cloud device or in the cloud represented in block 600. User subscribe his preferred gaming environment using a subscription management program that can be as simple as a web page that allow user to choose certain plans, configuration options and deployment environment. The game environment is deployed by creating its OS image on mini-cloud if it has enough resources, or in the cloud (600). The terminal simply tells the game environment that all display output and joystick or input need to be mapped from the terminal. The game or game console management app run on the backend, display is encoded then sends it over to terminal that decodes the display and dumps them to TV terminal. User uses joystick connected to game terminal to choose the game it want to run by watching the output from the TV screen. Then all controls are sent back to the game environment on the back end that eventually responds to any user inputs.

Block 900 represents a digital video terminal that can replace existing DVR terminal or Dish terminal. It runs a VDR environment on mini-cloud devices or on cloud (600). In this case the DVR environment on the backend receives all the streaming data coming from a satellite receiver or from another streaming server. Mini-cloud box include an interface so that it can connect to a receiver for any data that is dumped to TV terminal. Set-top box manufacturer can create a computing environment with additional interface card that can be integrated with mini-cloud center so that setup box functionality can be realized with a combination of DVR terminal and mini-cloud center.

Block 810 is custom terminals that can represent any custom devices that need a computing environment that can be pushed in the cloud and a display environment that user need to interact.

FIG. 2 represent few blocks ideal for a small office environment that might have few mini-cloud centers deployed on premise. Those mini-clouds communicate with each other to share its local resources. It's possible to have multiple segment of network within an organization with different zoning. Administrator might choose to deploy different mini-cloud center with different capabilities in each of those zone. Each mini-cloud center might serve a set of users with more commonality for example, a set of people works in a particular department using a single application or computing environment. Most likely thin terminal in such environment will be deployed using some network infrastructure with high-speed local connection and mini-cloud might not need to work as a router or network hub as it was in home environment. The resource requirement in such environment would be more geared towards multiple seats of the similar terminals as opposed to many diversified terminal in home users case.

FIG. 3 represent mini-cloud architecture. Mini-cloud works as a hypervisor host that can run multiple computing environments. For example a simple mini-cloud center can be a simple computer with Microsoft Hyper-V hypervisor or any other hypervisor that allow to run multiple instances of different operating systems on the same system. The simple mini-cloud center also include an end-device manager to manage all thin terminal connected to it(block 130), a cloud cache (block 150) and a cloud synchronizer (block 140). Multiple operating systems (block 110) can be run on them.

Block 120 represents hypervisor that allows partitioning H/W resources and assigning them to individual guest computing environment. A customized version of available hypervisor such as EXS from VMware, Xen from Citrix or Hyper-V from Microsoft will do the work. With hypervisor console, a user can create a guest operating system virtual machine using some template, boot the virtual machine, power down virtual machine, assign private network interfaces etc. Those administrative works can be done automatically where subscription manager can create appropriate VM on a mini-cloud host that complies with the user subscription plan. While creating VM, the creating step can use some template or pre-configured VM image from cloud cache (150). There are Type-1 hypervisor that refer to Microsoft Hyper-V and similar products. Type-2 hypervisor is another kind of hypervisor that might allow running more virtual environments even if the underlying hardware can't run instructions in virtual environment without some additional translation of instruction. Cloud-host need to support desktop terminals along with mobile devices and hence might require both types of hypervisors as needed for a particular embodiment.

Block 130 is a component called end device manage that would run in hypervisor environment even when no guest OS is running. This component manages all thin terminals, authenticate them, allow access control to mini-cloud resources and offer some management interfaces accessible using thin terminals. For example when no OS guest is running, thin terminal still need to start the intended computing environment, power down, attach/detach etc. End device manager uses some protocol to identify some signature embedded in tin terminals sending some queries. The device manager can talk to other device manager in the network on some components in the cloud (block 600), or even subscription manager (block 610). When device manager work in collaboration with cloud, it simply work as a broker.

Block 140 represents a cloud synchronizer that updates mini-cloud cache data, and deletes contents when needed. Cloud synchronizer can work with digital right management as well that dictate what content can be copied over and how long it can keep. It also enforces policy based compliances.

FIG. 4.1 represents internal components of a typical cloud cache component (150) in mini-cloud. The data kept in cloud cache are kept in encrypted form to preserve data security and integrity whenever needed.

Block 151 represents device specific cache where mini-cloud need to support a range of devices laptop, desktop, tablets, mobile phone, game consoles. All those devices might need separate computing environment. So there would be some cached data specific to a class of devices. Those cached data will be used to create and manage a device specific environment more efficiently.

Block 152 represents a cache integrity checker that checks data integrity in real time when a particular event occurs like create a VM. The checker also check data integrity an schedule managed by Cloud cache manager to make sure data used in cloud cache are up-to-date, compliant with law and are not tempered. The integrity check works on all cached data stored in various subcomponents in cloud cache.

Block 153 represents Cache lifecycle manager that make sure data resides on cache for a specific period of time that is complied with the subscription policy. For example if a user subscribe a VM for one months, after one months some data need not to be there, and life cycle manager can delete/purge that data after some time say 30 days after expiration.

Block 154 represents a peer cache manager that interacts with other cloud cache in different mini cloud it can reach. When a request on a cloud cache requires some data that is not present in local cloud cache, it can contact other peers to bring those missing data.

Block 155 represents Media cache that holds some data related to multi-media content such as an e-book, movie file, game, song etc. User should be able to subscribe that content and play them on TV terminal using some thin terminals. Those media cache might be accessible to other cloud cache through peer cache components.

Block 156 represents cloud cache manager that schedule sub-components in cloud cache to perform some tasks and work with other cloud cache manager to collaborate.

Block 157 represents cache catalogue that contains what information are available in local cache and what can be brought in from actual cloud (600) or from other mini-cloud cache. This catalog is updated regularly.

Block 158 represents App library that holds data for software applications. When a user subscribes software applications, it can be deployed on a virtual machine if the software application data exists in app library cache.

Block 159 represents image library cache that holds template files for creating actual virtual machines. For example, in a small business environment they might use only 3 flavors of operating systems, it might make sense to keep a library around 10GB holding some images so that those 3 OS environment can be created any time without bringing much data from central cloud that improves performance. Also users might move from office to office where a VM running on one mini-cloud can be transferred to another mini-cloud by transferring differential data. With those differential data and using data from image library cache, the actual VM can be created with a fraction of data movement. This might help back-up and recovery as well.

In general cache data in other subcomponents also help to move less data utilizing bandwidth.

FIG. 4.2 represent how a mini cloud host talk to different components in a thin terminal or another mini-cloud running in the cloud (600).

In the figure block 100 with hypervisor (120) represent a mini-cloud running in the cloud or on premise. A block 100 with Modem circuit (186) represents a smart modem mini-cloud that contains built in terminal.

User buy or lease such smart modem from an ISP provider and can connect users Keyboard/mouse/Video to connect to a desktop computer running in the cloud. Smart modem has a firmware that might hold just enough functionality users might need to do some internet browsing or email checking. Smart modem also includes router (189) that allows user to connect their other networking devices using wire or wirelessly (block 187).

On power on, user are given a management console that holds some basic software apps. If users need more powerful computing with more apps, they can connect to a backend desktop environment running on mini-cloud. When users connect to a remote VM on mini-cloud, smart modems keyboard/mouse (block 183) USB (block 182), audio (block 184) and video port are redirected to the VM. User can choose the VM settings by interacting with the subscription manager.

FIG. 5 shows some steps user takes to use mini-cloud systems.

FIG. 6 shows some steps home users might take to use mini-cloud system for home entertainment.

FIG. 7 shows some steps a user might take to perform some administrative task in a small office or branch office environment.

FIG. 8 shows how a mini cloud system can connect more thin terminals over single USB connection. This setting works very much the same way as described in FIG. 4.2 where the communication link (block 191 in FIG. 4.2) is replaced with a usb link. It's possible that the link can be wireless or Ethernet. The benefit of using Ethernet cable is that no power source will be needed to run terminal. Power over Ethernet will enable more terminals as well.

FIG. 9 represents mini-cloud connecting to one terminal where another terminal is connecting to the 1^(st) terminal. In this set-up the 1^(st) terminal expose a USB hub to extend USB connection 2^(nd) terminal can use.

FIG. 10 represent a novel cloud terminal connecting to a mini-cloud system. The difference of this terminal with other terminal is that this terminal doesn't need any display monitor. The terminal contains a projector at the end of a flexible body mounted on a base. The terminal exposes itself to the VM running on mini-cloud system by redirecting all its ports including display. The VM running environment is projected on a regular surface used as a computer screen.

FIG. 11 demonstrate a thin laptop connected to a mini-cloud system. The thin laptop work as a thin terminal with display, keyboard, mouse pad with a communication chip. On power on thin laptop port is exposed to a guest VM running on mini-cloud system. Mini-cloud system detect the thin laptop terminal and launch appropriate thin laptop environment and connect the laptop terminal to the running VM.

FIG. 12 demonstrate a thin laptop terminal where a scale down mini-cloud system is embedded inside power adapter. The scale down mini-cloud can be a simple computer with some extra components so that it can connect laptop ports as its local ports.

FIG. 13 demonstrate a thin laptop environment where the laptop directly connect to a mini-cloud system running in the cloud and use 3G/4G or Wi-Max type of connection to connect the VM.

FIG. 14 demonstrate a thin game console that connects to a mini-cloud system to deliver a game console environment. In this scenario game console works as a thin game terminal. The terminal has ports that allow connecting to TV, joysticks user can use to interact with a game console environment that is running in the cloud on an on premise mini-cloud on in actual cloud in the backend (block 600). The game console environment simply sees all the ports on terminal as if they are connected locally and run game as is. It is possible to run some additional client on game terminal that would allow running the game session just like a remote sessions. In that case, all the graphics from the remote game environment would be captured, encode and compress as appropriate and send it over to client running on game terminal. The client then decodes, decompress graphics data and display on TV terminal connected to game terminal.

FIG. 15 demonstrate a mini-cloud environment where mini-cloud runs an emulator that run actual mobile environment. That emulator can work as a type-2 hypervisor that run an environment not native to host H/W. For example type-1 hypervisor used in mini-cloud system runs guest OS platform that can be supported natively. It means guest VM is for example is x86 where host supports X86 instruction natively. Or a Intel corei7 can be used as hypervisor host with a type-1 hypervisor such as XEN or Microsoft Hyper-V that runs guest OS with x86 image type. On the other hand type-2 hypervisor emulates instruction from another platform such as RISC. A mobile device might not use x86 platform rather it would use ARM based processor that need to be emulated on x86 environments. A mobile device as shown in block 1501 connects to a mini-cloud (block 100) system over a wireless network (block 1503). The connection might go through some cell infrastructure (block 1502) before hitting min-cloud system. The mobile device can run small software client that can expose its port to a VM (block 1505) after communicating with mini-cloud. The VM (block 1505) does understand the form factor of mobile devices and simulate the exact working environments and display all the output to the mobile phone. The client on mobile phone then bring the mobile display from VM to local display user can interact. This would allow having two parallel mobile environments that can serve many purposes like one secure mobile environment to access office data that always lives in office environment and wouldn't impact if mobile phone gets lost. 2^(nd) advantage is that the computational power of mobile phone is not limited to the mobile phone itself and can deliver enormous computing power without burning local battery.

FIG. 16 demonstrate a mini-cloud system based software subscription model.

Block 1600 represent a mini-cloud system used at various types of user and provider locations. Those mini-cloud systems have some agent running on each guest VM mini-cloud hosts. Those agents control what software can be deployed on a particular Guest VM or what kind of digital content can be played on those VM. Mini-cloud system provides a framework to run software and digital content on any platform guest OS backed by mini-cloud system. The agent can use content streaming or software streaming that could install software on demand by bringing necessary files or content from local cache from mini-cloud or from some central library in the cloud.

Block 1610 represent a software manufacturer or content owner who packages their product using some publishing tool and publish in the content cloud (block 1680) so that other users can use the product. The publishing tool can convert the software package in a format that can be deployed on a system using software streaming technology. Software streaming technology has various forms but the key idea is to create an installation package without installing on any operating system. The package can be deployed as a virtual appliance where user creates a VM that has installed application. User simply subscribes the VM for a specific time. Once user subscribes the VM, it can be deployed on user's mini-cloud system. The VM can run ISP providers infrastructure as well where use connect to it remotely. With streamed app, user's subscription plan allow user to install the app for limited time using some agent user have on his system and managed by mini cloud system that enforces licensing.

Block 1620 represents a component called mini-cloud integrator that has various subcomponents that run in mini-cloud system at hypervisor, inside Guest VM and in cloud in ISP backed infrastructure. This piece help to integrate VM in a better was with mini-cloud systems by sharing resources more efficiently.

Block 1630 is a collection of mini-cloud systems deployed in corporate datacenter. Mini-cloud systems deployed at different branch office as shown in block 1620 always contact block 1630 for any additional resources before hitting any cloud outside corporate network.

Block 1640 represents home users and block 1660 represent small business users. Both those users have mini-cloud systems on premise. Those mini-cloud systems has a mini-cloud software subscription integrator that run on mini-cloud core (independent of VM), and run inside VM that run on mini-cloud. That subscription integrator enables software subscription on any VM running on mini-cloud through system.

Block 1650 represent a large enterprise that doesn't have private data center, but use mini-cloud system for it local needs and communicate with block 1680 for any software and content needs. That customer also can contact ISP provider block 1670 to use more infrastructure resources as needed.

Block 1670 is a mini-cloud based infrastructure provider that has a collection of mini-cloud systems. Some use user small scale mini-cloud can use more resources from block 1670 based on subscription model. Those infrastructure can host a VM that contains software user can subscribe and connect to the VM. Users on premise mini-cloud can bring the VM locally if resource allows. To bring the VM the system need to copy all image data rather the differential data that will allow on premise mini-cloud to recreate the VM using its image library or cache data.

Block 1680 represent digital content cloud. Any system running in the mini-cloud environment can communicate with block 1680 for any digital content and software needs. What a system can view and use is dictated by subscription plan. Content owner can publish their content in the content cloud so that users can subscribe and use them. The mini-cloud system helps to make sure only authorize users can use contents backed by users subscription plan.

FIG. 17 explains how different users use a software subscription model using mini-cloud systems. The software subscription part can be used outside mini-cloud system. However, the benefit is that mini-cloud can help to move VM more quickly, enforce licensing policy more easily and manage lifecycle of the content.

FIG. 18 represent a special card mini-cloud or similar system can use. The card uses some special purpose chip that can encode graphics stream from a virtual machine more efficiently. The idea is a remote display whether that is within few feet within the physical location of mini-cloud system running VM or hundreds miles away, the data between display and VM need to be transmitted in a scalable way. A HD dual monitor system can easily require more than 5 Gbps link. Processing that massive amount of data will require a lot of resources. Rather the data would be encoded using special chip and decoded on display or thin terminals using another chip. Those chips can be Digital signal processor based micro controlled, some ARM based embedded system. The special card in the picture can be a PCI based card that can be inserted into an existing mini-cloud system. The card has multiple chips capable of handling multiple graphics stream from multiple VM running either on its own system or coming from another mini-cloud system. Once graphics data is encoded they are sending over to thin terminal that can consume as low as 10 Mbps.

Block 1810 represents network interface module that allow the system to communicate with thin terminals connected to mini-cloud. The network interface module also can collect data from other mini cloud systems. The interface module can work independent of the interface card Mini-cloud systems has.

Block 1820 represents a firm ware or an embedded OS that allow controlling the resources on the card. The firm ware can be updated and can be managed and controlled by an interface module in mini-cloud system.

Block 1830 represents a codec scheduler that allocates which chips are available to handle incoming requests.

Block 1840 represents an interface module to interface with a mini-cloud system bus. If the card is inserted into PCI slot of mini-cloud systems the module would handle communicating with the bus.

Block 1850 represents actual chip module that can handle a graphics stream. The card can have multiple chips. A mini-cloud system can have multiple cards as well. Those chips can be FPGA based or use DSP module. Those chips can use some processor core such as ARM. Optionally those chips can contain GPU module that can allow the card to expose GPU to a guest VM. If the chip exposes itself as GPU module then VM can directly send Graphics command that can be handled by the chip. The encoder in those cases can decide how to handle the command while communicating with a remote terminal who might understand the commands. By default the chip would encode the data in some format like h.264 and send it over to thin terminal that then decode the stream and present to users.

FIG. 19 explains how different thin terminal connects to mini-cloud systems and how they work. In the figure one desktop terminal (block 1920) game console (block 1930) and thin laptop (block 1940).

Block 100 represents a mini-cloud system. Most of the subcomponents inside mini-cloud systems (block 150, 140, 110, 130, 120) have been explained in previous figures.

Block 1800 represents codec array that has been explained in previous figure as well.

The entire terminal contains a decoder component that can decode encoded graphics and commands from mini-cloud systems.

A typical operational workflow is, user power on a thin terminal say thin laptop, it connects to mini-mini cloud (100) over wireless or wired connection on USB cable, Ethernet cable. Mini-cloud detects the device and figure out it's a thin laptop should connect to a VM represented in block 110. If the VM doesn't exist mini-cloud would recreate that using its image library and cache data. Once the VM is up and running it connects to thin laptop. All the graphics from block 110 are sending over to block 1800 for compression and encoding. The encoded stream might include other stream redirected to other ports such as USB. The encoded streams are then sent over to thin laptop. The decoder component (1910) then decodes the stream and display on users LCD monitor of the laptop. User can see the display and interact with it, for example typing user name a pass word. Laptop terminal captures users input and then send it over to block 110. The connection between mini-cloud and thin laptop can be done in many ways. All the port can be redirected using some bus level protocol that can expose port attached to thin laptop as if they are connected to block 110. USB over Ethernet can serve the purpose where all those ports are exposed as local USB devices to 110 with a) USB keyboard b) USB mouse c) USB display. Once guest VM (110) interact with those USB devices USB packets are intercepted, then encoded and send over to thin laptop. Many other approaches can be taken.

FIG. 20 represents a mini-cloud system that includes an encoder server. Encoder server can be a standalone server capable of encoding multiple computing sessions from different mini-cloud systems. A computing session from a VM includes graphics, data redirected to ports etc. Mini-cloud codec server can use the codec cards describe in earlier figures.

In the figure, block 2000 is the mini-cloud codec server accept computing stream from multiple mini-cloud host running multiple guest VM. Then the codec server sends over encoded computing stream to individual thin terminal. The codec server simply helps mini-cloud system to scale better in large environments.

FIG. 21 represents architecture to support multiple client terminals. For example if there are some VM in mini cloud system user can connect to them by terminal. However user might want to connect to them by other clients like VNC or RDP/ICA clients. In such case the guest VM will create one additional stack to support those clients. Guest VM running on mini-cloud system can include server stack needed to support those clients.

In the figure, 2130 is the stack needed to support thin terminal. The stack might include graphics stack, Keyboard stack and mouse stack that can communicate with ports connected to terminals. For example is USB over Ethernet technique are used to connect those ports, 2130 would include one special USB host controller that would be a bus driver on Windows platform. All those remote ports will be attached on the bus driver so that the guest OS see them as a locally attached devices.

Block 2140 represents VNC and others stacks need to support remote VNC and other clients.

Port Extension Protocol and Devices to Realize Mini-Cloud System

Following sections provide description of a protocol to extend computer ports called port extension protocol (PEP) that can be used in mini-cloud system; one of many ways mini-cloud system can be implemented. The protocol has been described here in mini-cloud independent way so that someone can implement them without needing mini-cloud system.

There are existing protocols, such as Microsoft RDP, that allow a user to access a remote computer from a local computer, and then run a software client. Sometimes the local computer can be thin enough to run just the remote client software. The client captures user inputs and, just like keyboard and mouse, sends it to the remote server where the actual program runs. The server component captures the graphics display part and then sends it over to the client to be displayed to the user. The problem with this approach is that it is very implementation specific, OS specific such as RDP server is only supported on Windows, and the client needs another computer to run their software.

Port extension protocol extends local H/W port, such as USB, to a remote location using a cable or some other medium, by transmitting packets that go through the ports. This approach would effectively move an H/W piece from one location to another. The H/W connected to such port will sense that the port is connected to it locally and run all the Software applications recognizing those ports as a local one. A management component will identify group of ports and assign to the appropriate computer module. The appropriate computer module can be a Virtual Machine running or a hypervisor such as Hyper-V from Microsoft. The management component can be a brokering service working like a switch box that connects a set of ports on one side and a computer to another side. The management component can be implemented in software by virtualizing the ports or using H/W working like a switch box. In this approach the port extension is totally transparent to the actual computer. Keyboard, Mouse, Video, Audio etc. are connected to individual ports and those ports are connected to a remote computer through the switch box. Ports and management component will have a hand/shaking mechanism so that it can identify a group of ports or can create a group of ports from a list. That group will constitute the work station for a particular user. A port can add a unique ID such as a station ID to the device identifier, for the device connected to the port. The management component can also filter that identifier out. For better integration, the management component can have a module running inside the computer where some filtering, encoding, and decoding can be done.

PEP protocol can work without modifying guest operating system at all, and doesn't require any CPU or computer on the client site. Therefore, it offers great benefit to end users. The protocol will work like a PSTN phone system where a home user gets a telephone port (outlet) that is connected to other users going through multiple switch boxes. PEP can work in similar fashion, where there is a computer on the other end. The home user gets a port that can be extended further with a port HUB, and user can connect multiple devices. Packets from those devices are sent back to remote computer where the remote computer recognizes those ports as connected locally. The management component can have multiple layers, where multiple switch boxes get in its way before connecting users port to an actual computer. Multiple layers can use some additional protocol to compress data, encrypt it, or manage it for better optimization and security.

PEP works with multiple port hubs that are connected in chain fashion where each port hub will re-route packets for the next port hubs, thus high bandwidth will not be limited by distance end-to-end but distance between to port hubs. Also one port hubs is connected to a port say “P1” on another hub where P1 simply becomes pass through channel, thus any port-hub connected through hub-chain still detected by the host Computer as if it is connected without any port-hubs. Just as a note, port hub simply extend one port to few more port, can have its own power source, and each port exposed by port-hub works the way as if it is exposed from the host Computer where the port eventually connects to.

CPU-Less Laptop Using PEP

A laptop computer system is designed to include an LCD Monitor and Keypad connected to an internal USB hub kind of circuit. The monitor display is optionally connected to the hub through a graphics adapter. The hub's upstream port is connected to a transmitter that transmits USB packets over wireless networks, using protocol such as 3G/4G, WiMax, or Wi-Fi protocol. The internal USB hub can transmit USB packets over IP networks, or using a USB cable connected to a host PC at a local or remote site. For wireless setup, the receiving end of the USB packet eventually connects to a USB port of a host computer through another USB hub, or directly. When the setup is complete the Host computer sees the remote USB hub in the laptop just like a local USB device. A software component transparently handles converting all the remote USB packets into local USB packets to create an illusion, so that the Host PC thinks all the devices are connected to its local USB hub. The software component also modifies USB packets with an additional signature so that Host PC can identify a unique USB device when multiple laptops are connected to a single host PC. The laptop can be physically connected to a host PC using cable. The laptop Wireless component, and other configurable components, is programmed to connect to a host PC using a software component running on any computer when the laptop is connected to the computer. Over 3G/4G provider, the provider detects the SIM card number and automatically connects to a host PC that was pre-configured for that SIM card. The host PC can be hosted in a virtual environment using hypervisors.

On the operational side, when the laptop is turned on, it automatically connects to a host PC. The host PC sees the remote USH hub with multiple USB devices, such as a USB Keyboard, USB mouse, and a USB graphics adapter, as its local resources. The host PC simply runs a program using those H/W components. The laptop receives all the graphics parts and interacts with the running program using Keypad/mouse. The user feels all the data is being processed locally, however, the remote PC computing power is being leveraged here.

A modular computer is built with the CPU and USB controller that can be attached with the laptop as an attachable component, just like a user attaches a laptop battery. In this setup, the laptop can use the CPU power from the attached CPU module. The attached CPU module can be bundled with the battery, or even with the AC power adapter that the laptop uses. In that case, the new laptop can be run using the CPU module from the power adapter while charging the laptop's internal battery.

This setup will achieve few things by separating CPU and related components from the main body. The laptop can be much thinner and lighter because it removes the need for HDD, heavy battery, etc. It needs some slim battery to run just the LCD display and small circuit to connect to a host PC. However, its power is not limited by its local resources. If the user needs more computing power it would simply connect to a more powerful host PC.

The separate CPU module and HDD includes a solid state HDD, extra battery cell that allows it to make the design compact with a different shape. The user can carry that while on move so that even without power outlet the module is still usable using the battery it includes while it connects to the laptop. The laptop screen can scale back to smaller display area to save even more power.

In a typical use case, the user will get a laptop with a monitor, keypad and mouse with an embedded battery with wireless connectivity. It connects to a host computer where a host computer remotely attaches laptop H/W and display application output. The user can use the full screen or scale back to smaller screen to save power. The used can also use the full power of the desktop from their laptop. While on the move, or when the remote host PC is not available, the laptop will connect to an attachable CPU module that would deliver computational power. In this case, the battery on the CPU module and laptop will be combined and shared to power each other. The CPU module can connect to power outlet to charge batteries attached to the CPU module or bare bone laptop. The laptop battery can be charged separately as well.

A regular laptop can contain some options so that it can expose itself to accommodate PEP, where it would expose its video/keypad/mouse to a remote PC as an H/W extension for a remote PC. A software component on the laptop will work as broker that would simply get the packet on its own port and send over to a host PC and vice versa. Some hotkey or key combination might break the PEP mode. When a regular laptop enters into PEP mode, the user can fully access full desktop power with all its storage. This would work as a replacement for software based remote protocol that needs a server side component. In PEP mode, on the client side, some software pieces present itself to a remote host PC as H/W devices.

We used USB port redirection to explain the setup here. It is possible to develop similar protocol and supported devices to support this unique CPU-less laptop that uses some host computer power at a remote location.

CPU-Less Tablet PC Using PEP

Tablet will assume the similar configuration of PEP based laptop where it doesn't require a Keyboard. Some identifier on tablet configuration will be transmitted to the host PC and it will detect that it is exposing its display to tablet devices. The Host PC will overlay some floating keyboard that can be activated by a touch on the tablet screen. Once the keypad is activated, it can be moved around the screen and key input can be taken from there. The host PC might split the display area to make room for the keypad and mouse once activated. The touch screen will help to capture the user input and control the devices and screen. The table can have a small controller chip that would allow the user to configure the tablet to connect to a host PC, or it can be configured by attaching the tablet to a host PC before use. A USB programmable stick that has preprogrammed configuration data can be attached as well. Information such as, what is the wireless configuration, encryption key, password etc., so that later on it can directly connect to Host PC without any user intervention.

CPU-Less Desktop

A CPU-less desktop is similar to CPU-less laptop setup where the USB hub and its circuit are packaged into a small circuit, embedded in a small device that exposes some ports where desktop components, such as Monitor, can be connected to a VGA port. An external keyboard and mouse can be connected to the USB port exposed by small devices. The small circuit can be embedded inside a monitor as well where the user can connect his mouse/keyboard to the monitor. Essentially, the monitor becomes an all-in-one computer and serves full desktop functionality without having any CPU/Hard Disk, and consuming a fraction of power a regular desktop consumes. The small circuit can be embed in a DSL modem or Internet gateway devices the user uses at home, or even in an internet router where the circuit connects to a backend host PC using the link provided by the DSL modem or router. The circuit is programmed to connect to a particular host PC by connecting to its flush ram, using some external computing devices. An upgraded version of the devices can offer a small programmable component that allows the user/installer to configure it, and its settings the way some advanced DSL routers provide. Those advance DSL routers provide an HTTP server where the user can connect to the device and configure all of its settings.

In one setup, port hubs such as USB hubs are connected in stages or in chain fashion, one connecting to the hub next to it. The host detects individual ports of a hub and devices connected to the hub and group them for a terminal station the hub represents. The next hub still constitutes a terminal station even though it is not connected to the host PC directly. One or more ports in a hub extend terminals where the host identifies the hub and devices connected to it, using some signature in the hub or devices connected to the hub. The Host PC has multiple controllers where multiple hub chains are connected. The Host reconstitutes a tree of hubs connected to multiple controllers and creates virtual hub layers that include all of the ports, except the port(s) that connect to another hub with a special signature. A hub without such signature becomes part of that hub it is connected to. A management component assigns a virtual hub to a Virtual Desktop running on host PC, or elsewhere.

Game Console Over PEP

Most living rooms nowadays have a game console such as Sony play station or Microsoft X-Box. The console is very much a custom computer with an operating system, memory, HDD and some custom application. The user interacts with the device using some joystick/wireless keyboard, and video is dumped to the TV console. Using PEP setup, the custom computer portion can move on the back side or at a remote location. A port will be delivered to the user's living room with some port HUB user can connect to their joystick/keyboard. The hub or adapter will expose a video port such as VGA or HDMI, or regular TV output. User input will be captured from the user's input devices and sent over to a remote host computer, where appropriate video will be processed and sent over to the video port. This setup allows the user to setup his connection to connect to PlayStation or X-Box based on their preferences and providers option. The user can also subscribe the service without even buying the

H/W.

Misc. Services

Different services such as movie subscription, software subscription etc. can be delivered through this setup using some provider. The user does not need to download everything at their endpoint; rather they would need a connection to the provider base station or location where the user's home connection ends. This would also help scale the internet better in the long run because internet bandwidth will be exhausted due to media data. PEP can keep huge amount of data within the provider's network.

Integrated Desktop with Projector Over PEP

This set-up includes a small projector with a base and head. The base includes an adapter that is used for port extension and connected to a host computer. The head section of the projector is connected to the base with a flexible body that can be bent in many ways to calibrate projection. The projector is connected to the display port of the adapter, which is embedded in the base. The base exposes ports for keyboard and mouse. When the projector devices are connected to the Keypad and mouse, and connect to a remote host PC over cable or wireless, it turns into a Desktop station. The remote host can run a VM to support the adapter. The host can connect to multiple projectors. Each adapter can connect to the next adapter using a pass through port exposed from the adapter.

Detail Operational Steps

PEP extension simply extends some physical port of computing devices and extends that to a remote location by transmitting all the packets that would have been exchanged with the devices while it was physically connected to the Computer. This removes the requirement of client server software where, on server side, information is encoded and, on client side, information is decoded. Since there is no client software, no CPU/HDD/extra memory is needed on one end to process information. Therefore, the extended port can be used as a terminal that can be very cheap, easy to manage and power efficient as well.

At a remote location, a collection of computer servers are hosted in a powerful server H/W. Those servers run some hypervisor software, such as Microsoft Hyper-V, to provide virtualization support. Each server on top of hypervisor runs multiple Virtual desktops or server operating systems. Each virtual desktop can be configured and delivered to end users.

Those physical servers are connected to a gateway that accepts incoming port requests from user's endpoint and redirects them to an appropriate Physical server, to eventually route to a particular Desktop VM.

User endpoint is a desktop port that the user can extend using a port hub. The desktop port can be connected to an adapter that exposes a display port/Keyboard/Mouse. The adapter has a reset or power on button. When the user powers on the adapter, it sends some signal to the gateway. The gateway determines some signature of the adapter or port to identify the user, then routes some signal to the appropriate server that eventually redirects to a VM that handles the signal. The VM detects that a Video adapter Keypad and mouse is connected to it, it doesn't matter where those devices are physically located. So effectively, when a user powers on the adapter in his possession, which is connected through the port, the user gets instant access to a VM, and can interact with the VM without running any software client at the user's location.

Hypervisor software can launch the desired VM if needed to serve the user's request. A management software component configures the user's VM and sets up the environment in such a way so that user's physical adapter can connect to its computer when powered on, based on adapter signature. Additional credentials will be needed when the user logs onto their system. The adapter can accommodate some encryption to make sure no other devices can get on the wire and intercept transmission.

The generalized setup can be miniaturized by taking only one desktop computer as a server and VM host, and the adapter is connected to the desktop over USB cable. The desktop hosts multiple VMs and a software component connects each VM to a group of USB devices. This setup would allow a user to create multiple desktop VM instances accessible to multiple users in an independent fashion.

In this setup some VMs can run multiple desktop sessions, in that case a group of USB devices will be assigned to individual desktop sessions, allowing the user to use the setup in mix mode. This means the user can connect to an individual VM that provides bare metal H/W extension of the desktop and some users connect to the desktop session, which is shared by other users.

In this setup, the port extension hub contains a controller chip that add additional signature representing station ID to the device descriptor while a device send it's device description to the host. The controller doesn't add the text when another similar port extension hub is connected. On server host or at gateway, a software component can group a set of devices connected to a hub just looking at the descriptor and filtering the signature before assigning those devices to a particular VM. The signature representing a terminal can be implemented in other way as well where end result is uniquely identifying

Software and Digital Content Subscription Framework

Following section describe a framework needed for mini-cloud system to enable subscription model for software and digital content so that mini-cloud users can subscribe infrastructure, software and digital content. The framework has been described here in an independent way outside mini-cloud system. However it would be obvious that many framework components describe bellow will be implemented in mini-cloud components. For example, a single subscription management component is used for infrastructure and software where they are just two types of resources. The framework client component will be part of mini-cloud integrator component installed on guest VM. Framework server can be a component of mini-cloud running in hypervisor. Framework application cache can be the extended cache of mini-cloud system.

Proposed Method for Software Subscription

The proposed framework will comprise of several components as follows:

-   -   1. Client framework component: This component will be installed         on client system. This component will be configured to connect         to a framework server component or another framework client         component. During setup, or after setup, user can select from a         set of applications, environment, or some template subscription         plan the framework support. A simple template might be a set of         application HR dept employee in a big organization might use. Or         might be a set of teaching tools 7th grade students should use.         Sometimes user or administrator can select a set of such         template or application. Once configured, Client framework         component integrate the local environment in such way that user         feels that all those applications are installed locally. To         achieve such integration, Client framework will Intercept         various event generated from user environment and create a         virtual space similar to when all those apps are installed         locally. Client framework component can intercept various system         calls on local system targeted to Filesystem, registry, shell         environment, OS components etc and manipulate them to create         full virtual environment. For example, when application access a         file on local filesystem, the framework can intercept the call         transparently, then copy such file from a remote server         partially or fully and then provide data to the caller         application. Application feels that they are getting data from         local source. Before copying such file or providing, Client         framework module can validate, if user has enough licensing         right to access such data, or if user need to pay before         proceeding. The data can be related to application code or might         be just a data file like a music or video content. Framework can         validate if the data is coming from trusted source and data         integrity is preserved. Frame work client module can run under         the assumption that Framework Server might not be available all         the time. In such case, Framework client will cache most         frequently used files (based on user needs and subscription plan         or common user scenario) from the Framework server when the         server is available and run with full or limited functionality         when Framework server is offline. This offline support can be         backed by “Framework plug-in Application cache” as well.         Framework client will also make sure that the user is running         with most up-to-date files safe to run. This component will be         heavily dependent on API redirection and manipulation to         virtualize running environment.     -   2. Framework Server component: Framework Server will serve a set         of framework clients. Framework server component will be hosting         all the software or digital content or will work as a gateway to         serve the entire request a framework Client module can request.         Framework Server can work as a stand alone component when         configured properly, or can connect to other framework servers         or Global Framework Server for the information it need to         support the frame work client it serve. Some framework user like         software vendor can add their own frame work server to host the         content they provide under some subscription plan. Framework         server will host content package in special format that client         framework can read on demand. Those content packages will be         developed by set of tools running against regular installation         of application for a target platform watching how they interact         with the system. Also music and video content ca be packaged         together with application. And eBook content can be packaged         with its special reader to make sure user can read the book         without needing any special reader that might not be available         in users system.     -   3. Global Framework Server: Global Framework Server can work as         a Framework server or kind of framework server locator to find         the correct framework server for software or digital content.         All the components in the framework potentially can use private         or public protocol to communicate with each other while         contacting each other for information. Multiple Framework         servers each having some framework component can form a cloud of         framework server's access able form different geographic         location across the world.     -   4. Framework plug-in Application cache—This component will         comprise a process to create a container that contains data         mostly needed by application or a set of application for most or         all use case scenario. Such cache can be plugged-in with the         framework client where client can run application without         connecting to framework server with limited or no network         connection. Such cache files or container can be put on any         media like DVD/USB for roaming user, or to provide snapshot of         multiple application. This can be a new distributable medium of         soft content. This cache can be put on much faster memory (RAM)         where application can lunch very quickly as well saving slow         access to Hard Disk or Network.     -   5. Framework Toolset or supporting process—There would be a set         of supporting process or tool set to assist framework users or         components. For example some auto rating of software content         will be used to build a knowledge base shared resources.         Framework can offer digital content (software or data/music         file) from multiple sources and user can be confused which one         to pick. When user start using those contents some data can be         collected automatically or based on some-input from the user.         Those data can be used to rate applications. There will be a         component so that content owner can publish their application in         the framework. This toolset will include some special tools that         can convert a regular application into special package suitable         for publishing in the framework. Those tool set will watch how         an application get installed on a system by recording which         files it writes and what configuration it needs, this can be         done using API interceptor.     -   6. Framework Policy component—This will provide a set of process         to allow framework users to control digital content uses and         management. For example Content owner can set policy associated         with their software or digital content defining that those         content are valid for 30 days. User must update them after 30         days. Content owner might set policy that only user at         particular framework subscription model can use the content or         user must pay one time fee. End user can set some policy that         content foot print need to be removed within after 30 days of         uses or when license expires. A corporate might set policy that         inside their corporate environment only 20 concurrent uses of         particular content should be allowed because of its license         constraints. Framework subscription plan simply might be a set         of policy.     -   7. Framework Naming resolution services—Digital content can be         identified by some content ID like GUID or user friendly name         “OpenOffice.Foo.Com” framework user might receive those content         title from various source. However, they need to know which         framework server host those contents because there are many         framework servers. This service would help to resolve that.         Content provider can host their content on one of the framework         server that can be added in the framework which eventually         updates the some central table containing a list of servers         hosting contents.

Detail Description of Software Subscription Framework

Under this framework, a client will have a proxy installation of all the software components they subscribe. When they try to use the application, a client module will be invoked and connect to a remote server and download necessary program modules and start executing application. The client module might keep some copy of files in the local cache to optimize future launching the application. The client module might start some background work to download more files and put those files into local cache user might need over time. As user starts using different options or feature in the software components, the client module might start taking some files from the local cash or connect to the Local or Remote server and get the desired files. The key difference between this approach and the conventional approach is that the proposed one only download files on demand basis and don't requires installation of that components including all unnecessary files user don't need in their 1^(st) try. Also user can create a application cache or get application cache from other source where user can put the cache file on USB or moveable device that can be used when he is traveling or don't have network connection. Software vendors can put snapshot of 100 of software titles on single DVD because their footprint becomes much shorter.

Installation on demand can make most application subscription based. The core concept is simple that can be achieved in numerous ways. Here are the two basic goals that need to be met.

a) On demand installation will allow users to run application without any requirement of explicit installation at the beginning. Frame work client component will download some proxy files that can have similar icon (original application has) and can integration itself with the client environment like adding a shortcut on desktop or start menu. User gets feelings that the application is installed locally. Other applications also think the component is properly installed. For example user might receive an email attachment with word doc. The client might not have word doc however might have the proxy word doc. When user click on the attachment, that invoke the frame work installer to download the word application and lunch it with the attachment.

b) To make the application subscription based, somehow a component should transparently manages the lifetime of those components which is guided by the policy users and vendors agreed upon. Framework can enforce such policy.

The framework proposed here achieves those goals and extend the usability that works in the real world. Those who are skilled in the art understand and appreciate that the framework can be implemented in any fashion where those goals described above need to be achieved.

Framework client component can be embedded inside an application or proxy application as well where. Proxy application can be a text file containing some information enough for Framework client component to download the application from framework server. Proxy application can be an executable image as well that can run on its own to serve the same affect. Embedded framework with proxy application can be run on any client machine without any previous installation of framework component.

Policies Module

This will dictate how the framework should work, how the client modules should work, how the server modules should work, how different managed software components should be transferred from server to the client side, hoe long a client should be able to use the components, how the licensing policies should work etc. Example policies might be as follows but not limited to them.

a. A component should be usable on the client side for only a certain period of time.

b. User should be able use subscribed application from multiple places but exclusively, i.e., this will help user to use application from one machine in home and one machine from office but not simultaneously.

c. Group policies: Multiple users might share the same policies.

d. Client should be able to run application offline up to certain time.

e. There might be varieties of subscription-based policies defined by the vendor that fit into their business mode.

f. The framework is a generic framework, and any vendor can host the server modules for their own application to make them subscription-based.

g. Using the client module user should be able to communicate with any of the server module as long as the client knows the location.

h. There might be a central server that can maintain all the location of the server that host subscription based components.

i. User should be able to subscribe the component for lifetime, and go for a complete installation, as it would do in today's scenario. However they can still enjoy all the benefit like hot installation, start using the application when the installation of the application is still going on.

j. A third party can develop a set of policy to offer Software services to consumers by hosting application developed by others.

Those who are skilled in the art understand and appreciate that a policy modules and the set of rules can be deduced and implemented in any fashion where some information is transmitting from a producer to consumer and producer want to dictate how the consumer should use the information.

Updating Products

Transparent update of the component is a key advantage of this setup or framework. Server module keeps the original files for a particular application. The server might keep different sets of files for an application depending on the version of the product. For example, for Microsoft Office 97 and Office 2000 there might be two sets of files. When user on the client side launches Microsoft Office the client module might contact server to validate its own version of the cache files. For example it was running Office97. Depending on the subscription policy the server might send the files from the set of Office2000 or ask the client to go ahead with its local version. In this approach if subscription policy permits client need not to bother with the upgradation. It happens automatically and transparently unless dictated by the client/server policy. Those who are skilled in the art understand and appreciate that transparent update can be implemented in any fashion where some information is transmitting from a producer to consumer and the producer want to dictate how the consumer should use the information and which version of information consumer should get.

Proxy Installer

In the proposed framework, Component can be run even without installing them on the system. This makes the whole process easier but it might require some minimal starting point user can start from. Also other component already installed on the system need to be aware of the component managed by the framework for better app-interoperability. To overcome this particular problem, there will be a proxy Installer that would update configuration information in such a way that as if a real installer updated that information. Proxy installer might work transparently 1^(st) time users use the component or subscribe some components. This process would be very fast because it only update configuration and create some starting points (for example icon or menu item in Microsoft Windows) user can start from. Proxy installer can create empty directory structure or copy some stub files for its own uses. Proxy Installer might use a configuration files per component basis. Those configuration files will contain information to update configuration database. Another part of the proxy installer might create those configuration files from the real installer for a component. For example a proxy Installer on Windows2000 can intercept all the registry update for Microsoft Office2000 installation on a machine for full installation and redirect those parameters in separate files. That can also intercept and redirect desktop/menu bar update information. Now the proxy installer can replay those call with some modification and changes on another client machines with proper user context. This way the client machine will be configured as if real Microsoft office installation was done on this machine. Some information in the registry needs to be modified before it can update on the client machine. As there is no file installed in the machine (except some optional stub or configuration files), therefore data that point to file might go through some handler that can interact with Client module that can eventually get that file from the server. Proxy might copy minimal file in the local system in some special cases. Those who are skilled in the art understand and appreciate that Proxy Installer can be implemented in any fashion where it need to fake to the system that a real installation took place and activation to any installed sub component of files need to go through another process that can supply that subcomponent or files.

Two Level Virtualization

Using most of the components described above, framework can virtualizes the environment for most of the application. Virtualization means users feel the application is fully installed on his system which is not, and the application also run with full feature even though many feature doesn't exist on user system. Virtualization will create a separate state of application running environment for the application managed under the framework. However those virtualization, might forbid some application from running normally. Some application might have too much dependency on system components like drivers. In such multi tier virtualization will be used where portion of framework managed application will be visible to native system. Proxy application or installer might split the application configuration into two pieces, a) suitable for framework and b) must be run outside virtualized space to interact with the system more closely. Some hybrid form can be used as well where some component work as a collaborator between virtualized and native system Implementation Details of software subscription framework

Assume that an exemplary framework to support one tax preparation application say MyTax. The client has the client module for the proposed framework installed on their system. Client also knows that www.Mytax.com is the service provider for that application. Also there might be other 3^(rd) party provider for that application. Now client goes to that location browse for the page that containing information about mytax application. Client can choose a lot the subscription policy that fit with his requirements. When they subscribe the application a process on the client machine will be invoked that invoke ProxyInstaller to install a proxy version of MyTax application. The proxy Installer will be responsible to create necessary starting points for the users (for example icon or shortcuts, menu items). The ProxyInstaller might talk to the server with some credentials user supplied to get some configuration. Then user should be able to start from the starting point whenever needed as if the product has already installed into the system. The client policy might also allow downloading all the required files at a later time. When users run the application the client module can download any additional files. Anytime user might force the client to refresh its cache with the most recent update or trash cache explicitly. When the user is done with the application it can forget about the application. The client module then can discard any cache files applying some policy that is consistent with the vendor and user. A vendor can set the policy like after April 15, the files expires and client module can clean up the client machine if required like the temporary cache file while browsing the Internet. Next year when users again try to use the application it can pay subscription again and same thing might work.

The framework might offer numerous options, which could be available only in true Client-Server environment. The MyTax wasn't written as a client/server application. However, the vendor can use a set of tools to do some statistical analysis the way user use the application and provide some information to the client so that client can optimize download time. If client never uses a particular taxform what's the point to install that on client system. Also if client never use tutorial program relevant data/files associated to the tutorial program is useless to the user. And it's not possible for the developer to make every single file or a set of files as installable features. The framework provides a transparent client-server flavor without requiring developer to rewrite their applications. Also the client modules/ProxyInstaller/Customer loader enable user to run application even though some files/data are missing on local storages.

A lot of flavor can be added in the framework. For example a co-coordinator might be in between user and vendor that can provide security or play role in secured money transaction or provide insurance. A license manager or policy manager can dictate the licensing issue for all the managed application user uses or some other services can be added in the framework.

Deployment of this Software Subscription Framework

This framework can benefit normal consumers and developer in many ways. User can use software components as need basis and without any headache to manage those components themselves. Software Vendor can cut down a lot of distribution cost and sell product at a competitive price. This can also help them to release any fixes or product updates quickly.

The Framework can be integrated with the popular Internet Browser, or as a stand-alone application that assist normal consumer to get all the benefits this framework offers. ISP like AOL MSN or any 3^(rd) party can launch Server modules that host a lot of application and their user can use some of them paying some subscription fee. The service provider can get volume discount from Software vendors and offer to their own user at lower prices. Under this framework, user need not to be worried about buying a product and keeping them forever, rather they just need to remember their provider name. From any machine on this globe that has this framework installed, user can use their popular application they subscribe from the provider as long as the subscription policy permits.

Though the framework has been targeted for the application already deployed in the real world, it would be preferable to have some application that would be aware of the existance of the framework. That way application itself can talk to remote server using the functionality provided under the framework. The OS itself can use this framework to update any hot fixes of install/uninstall any system components.

This framework can also benefit consumers to access their own popular application from any client across the network. Consumer can run a server module that can host all the applications he uses. From any compatible client that supports the framework, he can temporarily install application his own application with minimal possible configurations. This might allow users across network to share their popular applications. User can use the application without complete installation and a background process might download additional information offline.

Another Embodiment of Software Subscription Framework

In another embodiment, the framework can deploy some application streaming technology that allows application to stream an application from server to client on demand basis. Those streaming technology can replace some of framework component abstracting portion of framework client module, Framework server module and Framework toolset component. Some application virtualization technology can be used as well to replace some framework components. In dynamic world, various component method or process can be used to deploy to replace portion of the framework to exercise the full benefit of the proposed framework. Or the framework itself can be enhanced. It's also obvious that the framework can be used in various forms to deploy or deliver application, license management (using policy), automatic servicing or updating (by enforcing some policy, or integrity checking), Content publishing (combining content with application), lifecycle management of content. Framework can be extended by using Framework naming service and by adding new framework servers.

In short, streaming technology will consist of 3 components a) sequencer or profiler to profile application for a target platform that write the whole software into a package b) Server component publish those package and deliver to client upon request and c) client component that can download those packages from server on the fly and as need basis.

In another different embodiment, a bare bone computer or computing device might contain minimal component with framework client module good enough to connect to Framework server or use plug-in cache files. Using those combinations H/W vendors can ship those device as-is. User can simply attach those devices to network connected to framework server. The framework client then download required component (may be OS) to build the complete environment including OS. That might help to virtualize application as we all OS itself.

In another different embodiment, Framework can be deployed to manage license in a corporation. Different vendor might offer different licensing model and they might offer different licensing server, once the number of software vendor grows the number of such servers grows creating lots of headache for corporate customers. Proposed framework can abstract those different vendors' license servers and consolidate all into one offering easy maintenance how many of copies should be used in the network at any given time. Also Framework infrastructure might host different vendor supplied license servers. Corporate can host a single framework server component that can work as a proxy for all vendor supplied license server if needed to activate content used in the corporate network. This will open-up door for regular user to take advantage of volume license model where Framework can buy volume license directly from vendor and distribute and manage those license to end user with great savings in the form of subscription. Typically end user can't get those savings because they don't have the infrastructure to support license servers and can't buy license in bulk.

In another different embodiment, a corporation can deploy part of the Framework with few framework servers inside its private network. Corporate's own client machine will have a private version of the framework component. Framework server will connect to other servers outside its private network to collect data for published content the corporate intend to subscribe or purchase, corporate can also develop its own content for its internal uses and not exposed to outside users. Client computers always talk to the internal framework servers for any sort of services. In this case a corporate can deploy the service for its own users without developing any content but using content from infrastructure framework.

Though the discussion of the software subscription framework was limited to software and digital contents, it's is obvious that other content such as platform can be offered as well. Platform where use choose if he needs a data base server with SQL on it, or a simple Windows XP systems, such platform can be provided as part of subscription through mini-cloud system, or through a VNC like client can connect users system to a remote virtual machine skipping mini-cloud system. In both cases the subscription can be managed by the proposed software subscription framework. Also software publishers might publish their software in the form of virtual appliances where publishers install the software on s Guest operating systems and simply ship the virtual machine image. A user can install the VM on a mini-cloud host and get access the software already installed in the VM. Those are just few examples and many combinations are possible.

Embodiment A Mini-Cloud as Smart Modem

Single board computer would contain memory and some storage that can be used to run program. The single board computer will allow remote access to install and manage all its software pieces. Single board computer will support a video port and key board and mouse port. User can connect to their existing monitor and use regular keyboard and mouse to access the modem Box. The video, keyboard and mouse port can be exposed through a wireless port where user can connect to the device using wireless mouse and keyboard or use a monitor that can wirelessly connect the device.

The modem box will be powered by regular power. It can host some backup battery. The box will have port(s) to phone line, fiber optic line or cable line or even a simple Ethernet port user typically use to connect to access internet. Proposed DSL router will have a wireless chip to connect to wireless provider such as Wi-Max or 3G wireless service provider in case backup internet connection is needed.

SBC contains an embedded operating system. The embedded operating system contains sufficient software element that can manage all the components described here. Some component of the operating system can be managed and serviced remotely. When the modem box is powered on, the embedded OS runs a preinstalled client access application that works as a remote access application such as RDP (remote desktop protocol from Microsoft) like client. The application is configured is such a way so that it initialize all the connection needed to connect to a backend services hosted or managed by the Internet service provider or another 3^(rd) party. The access application would take credentials either from the users or from the devices itself to authenticate and initialize a connection and connect to a remote desktop. So effectively, when a user powers on the modem box it get a visual representation of a remote desktop. Client access application takes input from Keyboard and mouse, send it over to the remote desktop and transfer the graphics from remote desktop to user's monitor. Everything happens transparently and user feels that the modem box has become the desktop. The gateway can have local storage and other ports such as USB. Client access application will integrate those ports with remote desktop using some protocol so that the application running on remote desktop can access those local resources.

The router contains a circuit that generates some signature ID that changes over time. When the device authenticates to connect to remote desktop, it sends its current signature. An authentication service checks those ID to make sure it was generated by the specific devices. User can turn off device level authentication choosing some account settings.

If for any reason the Modem box can't connect to the internet using its regular line it will try to use its backup connection using its wireless connection and deliver the remote desktop to user. All the client access software, Modem functionality, embedded OS can be integrated into a single electronic circuit that doesn't need any software.

Once user is connected to his desktop, user can configure his system with a configuration portal component and reboot the system. The remote desktop is hosted in Virtual environment typically backed by hypervisor such as ESX from VMware or hyper-V from Microsoft. In virtual environment users' desktop can be hosted on different kind of servers backed by different kind of processors based on user needs. And the desktop is migrated to different servers without requiring shutting down the system with live migration technology. So effectively a user can configure his desktop on the fly. What kind of configuration user like for his desktop and those configuration can be delivered at run time or during next reboot. This way user can subscribe higher configuration at a bit higher cost when user need it and subscribe to lower configuration at lower cost when user doesn't need costly configuration. When a user subscribes an internet plan it comes with a basic desktop configuration which is part of users account settings and delivered using the new access gateway or the new DSL router.

When user power on or boot-up modem box, it talks to a back end broker services that authenticate users and take settings from user account to create initial users remote desktop. From the desktop user then can change his configuration using some tool that sync up those settings with user account so that next time user connect to remote desktop same settings can be used. So effectively users settings becomes part of computer settings as well as users account settings which is part of subscription plan.

Sometimes user might need desktop just for web browsing, in that case use don't need a dedicated desktop, backend broker service can put multiple users on a sever that can support multiple desktop sessions simultaneously. That kind of flexibility will translate into lower cost to end users. When user need a system say 8 CPU and 32 GB memory for two days, user can simply subscribe to a higher plan, and when user reboot, backend broker service will get user settings and figure out that user needs a powerful desktop, so the broker service pick-up a powerful desktop apply users settings (applications and configurations) on it and deliver the desktop to end user. When end user connects to his remote desktop, he simply finds a powerful desktop with his familiar environment.

User can subscribe to multiple remote desktop services and access them the way they like.

Multiple value added services is added on the backend. From subscription or configuration tool user can choose option to back up their critical information on a given schedule or on regular basis. ISP providers buy software from 3^(rd) party on a basis of device license or applicable for virtual environment and then give access to its user. User can choose software application they need for use for certain period of time. When subscription time expires application is removed from user remote environment completely. To manage those subscription based application deployment a Profiler component is used. Profiler component prepare a given application with its own entire configuration so that it can be streamed to users remote desktop. Application package is given an ID number that is stored with user's account settings or profile. The subscription time is also attached to used profile.

When a user connect to remote desktop, users profile or account settings has enough information what kind of resources user will need and what application user want to use. DSL router will be the primary way user would access his remote desktop. However user can access to his desktop from another location that doesn't have the proposed DSL router. In that case user would need another computer that can download and execute a remote access client. This access client will be similar one embedded in DSL router with added functionality for authentication. While connecting from DSL ISP can easily verify the physical signature of the device such as MAC address or some special ID ISP embed in the device. While connecting from another computer user need to authenticate by providing extra password or reusing users remote desktop password based on the authentication requirement set by ISP or users.

User can connect their remote desktop from a mobile phone. In this particular embodiment, mobile phone can work like a proxy DSL router. Mobile phone resource can be used to create an internet connection to ISP provider. Mobile device ID can be used to authenticate that the mobile device can connect. Before using the mobile phone user can change user's account setting to allow his mobile phone to connect his desktop. The mobile phone will run similar application DSL router would run. This application can adjust the resolution so that user can freely view his desktop (that often has high resolution) on mobile screen. Sometimes mobile phone can have embedded projector or it can project through its port to a larger screen, in that case the application can use the secondary larger screen for the desktop display. The mobile application will virtualize mobile resources so that mobile screen and secondary screen can operate independently. The application can create 2^(nd) virtual graphics display to deal with secondary display while using the primary display to project keyboard and mouse functionality. The 2^(nd) virtual display would allow displaying on the mobile screen and on the secondary display independently.

Embodiment B Mini-Cloud Friendly New Devices and Steps

Following sections outlines few devices that can work independently or in conjunction of a mini-cloud systems along with some operation that are critical to use the system in production environment.

Kids PC

A sample kid's toy is developed based as a terminal that can connect to a mini-cloud system. The toy connects to a host computer over wireless connection or using some port like USB cable. Upon connection, host computer or mini-cloud detects that a kids device is about to connect. Some policy kicks-in that make sure the device can easily connect to a guest VM without complicated authentication. Such policy can enforce simplified configuration possibly compromising security based on proximity. For example we can't expect a kid to remember password complexity. Rather host can deliver a virtual computing environment with great flexibility.

Power Reset Steps for Terminal

This is done in conjunction with a terminal or zero clients connecting to guest OS environment running on a mini-cloud system. Zero clients can connect to the guest over an IP network. Some control of the zero clients can be connected to a second controller that can communicate with the hypervisor. Zero client devices are equipped with a power down or reset button. Those controls are communicated to the second controller and the controller then communicate them to the hypervisor for proper action. Based on the control type hypervisor or the OS host can reboot or power down the system. Another alternative approach is zero clients can issue some broad cast message to control the guest. The controller can interpret the broadcast message and then take appropriate actions.

Collaboration and Video Conferencing Using Terminals

A terminal equipped with video camera is used to capture presenter image. A step collects all captured video data from users along with users screen display data. Another step would combine all those data and would send back to users so that each user can see other users based on some selection. The challenge would be to allocate screen region for individual audience, and manage those remote slice with a central interfaces. Audio part can be mixed easily with some audio engine. The vide part need to be processed in real time and deliver it as video.

On slow network, if we can detect prominent component of face, we could simply transmit them with some synthesis.

Way to Access VM From Terminal

Typically to connect a VM using a terminal, the VM runs some software that emulates some devices that get redirected to terminal. For example a video driver is loaded in the VM that works as a virtual driver that receives all the data that need to be displayed, then it encode those data as appropriate and send it over to terminal. So essentially, VM run a software stack to support terminals. It's possible to build the stack outside VM and inside the hypervisor host. Hypervisor will show the devices as physically connected devices to the VM. The VM still might need some software components that work better with those virtual devices.

Terminal Authentication Method

Terminal and mini-cloud system contains some H/W embedded serial number and signature that is registered with a particular user's subscription plan. Admin at ISP should be able to identify mini-cloud and its connected terminals uniquely. Some public key/private key combinations and strong encryption are used to identify them. Users or admin should be able to assign a terminal to a particular VM, or change settings of a VM access right so that terminal can choose which one it wants to connect. A GPS receiver module is used in those components to register a device at particular locations.

Embodiment C Mini-Cloud and Sectional Computer

Now a day's many of the people uses multiple computing devices that include a) desktop computer b) Laptop or net-book c) mobile phone or smart phone. There is always an attempt to break the middle ground between two gaps. For example iPad like tablet PC sits between laptop and mobile phone. Price of devices is going doing, and most of the cases a user try to keep a set of devices for his personal uses. Even in a family, husband and wife use their own phone. With multiple devices, data are scattered all over the places, management is a bit difficult and a manual synchronization that synchronizes data across devices is too technical for average to understand and troubleshoot. It would have been nice to have a device that could have been framed in many ways using different sections or parts to provide different form factors user like to use in various settings.

Sectional Computers Setup and Operations:

-   -   1. A smart phone is designed with its own CPU battery with a         screen size 3.5 and depth with ⅜ inch. User can use the device         for regular carry on device. User can run some applications that         fit mobile needs. The smart phone is framed in such a way so         that it can export some connections to housing when it is slide         into another frame of larger devices. Those connections allow         those two devices to communicate.     -   2. A tablet is designed that only provide larger screen and a         frame. Screen size can be say 5-13 inch diagonal. The frame         contains a housing where the smart phone can be slide in to fit         into the housing. The housing is made in such a way when a smart         phone gets into the frame it's not highly visible and doesn't         impact the usability of the tablet. Some button, external ports         on tablet and smart phone is connected through some ports so         that buttons and ports on the inserted smart phone can be         accessed using tablet. Tablet can use the battery on smart phone         or its own power source or combine them both to provide longer         battery life. Tablet can have different set of ports than the         phone, a small component called connection broker work as a         mediator to translate contacts between tablet and phone in such         case. While being used in such configuration, some ports or         components of phone is disconnected from battery. For example         while using tablet screen, phone screen is not powered on to         save battery. The connection broker is extended to manage and         manipulate all those changes. And phone is designed to support         that mechanism so that phone can be controlled by the connection         broker and for the said uses.     -   3. A desktop setup is very much with a monitor with all typical         ports such as audio, mouse keyboard attached to it or through         some additional housing kind of all in one computer. This         particular setup can is built as slim as without the         CPU/Motherboard/HDD units. So essentially it is a bit more than         a monitor with a housing where the smart phone can be slide in.         Smart phone is being placed on a docking station as well.         Basically, smart phone can be charged when the computer is in         use. A connection broker attaches desktop ports to smart phone.         The functionality would be similar to tablet except some desktop         specific scenario such as, desktop keyboard might have more keys         than phone and tablet.     -   4. When smart phone is slide into a larger device, the device is         controlled using the buttons from the larger devices, or using         some remote accessories smart phone can communicate directly or         through larger devices. Smart phone is configured what kind of         display or accessories it need to use when it detects it is         being hosted inside larger devices. The configurations also         setup how to use and optimize power connections. H/W part is         designed to support those configurations.     -   5. So effectively, using the mobile phone user can use multiple         form factor devices to save significant amount of resources. For         example users need not to buy expensive H/W rather than just the         display with compatible framing.     -   6. With this model, the only part the need to be extended is         computing power. Since the computing power is limited by the         processing unit on mobile phone, it needs to be extended. The         mobile phone unit includes a software and H/W components that         can communicate to a remote host computing devices where it can         run application and deliver the output in similar fashion of         remote desktop provided by Microsoft as an example. The remote         host can simulate the environment and run application and         deliver it to user based on the environment user is using. For         example, when using tablet it can run an environment on remote         host suitable for tablet, when user uses desktop monitor it can         run separate environment on remote host. Smart phone here in         this setup simply work as a medium to communicate with the         remote host, deliver the graphics to user, and send back inputs         from users to the remote host. Smart phone also does some port         or device redirection where remote host see some of the local         devices at user end and them as if they were connected locally.     -   7. In that setup, a mobile phone can deliver limited computing         power to desktop environment or on tablet environment when         offline and can deliver very high computing power using a remote         host. The remote host can be a standalone computer or a guest OS         environment running on a hypervisor.     -   8. In this setup, when offline, desktop will use very much the         same computing environment mobile phone can support. For         example, in offline case mobile phone might not support Windows         7 operating environment that can be accessed with desktop or         tablet setup. However, while using a backend computing host, it         can deliver whatever environment backend can supports that would         include any typical environment including Windows.     -   9. Smart Phone is replaced with a zero client: In another         embodiment the mobile phone is replaced with a device containing         SoC (system on chip technology) called Zero client that can         provide computing power to desktop/tablet while off line. And         connect to backend OS system where the device simply works as a         connection broker to deliver remote computing environment         locally. The device can be removable sectional part of the         desktop or can be attached to the desktop.     -   10. In another embodiment, a home based system with a hypervisor         can host multiple execution environments, a zero client or smart         phone simply connect to one of those execution environment to         deliver the execution environment to a preferred form factor.         Zero client or phone easily connects to the home base hypervisor         system over Wi-Fi like wireless connection.     -   11. Game Console—The home based system can host a computing         environment to support game console such as X-Box, or Sony PS/2.         Smart phone or zero client devices can connect the console to TV         or larger form factor to deliver Game, or Movie. Game         application or movie will run inside the guest environment on         the backend and the display is delivered on TV or user console         using a connection setup by the smart or zero clients. The         device also responsible for attaching other input devices to the         backend system so that user can interact with the game as if         user is running those game or movie on a local console.     -   12. Home based system can host an environment that can deliver         some home appliances like photo frame applications. A zero         client embedded in the photo frame would connect the photo frame         display to the backend environment.     -   13. The home based system mentioned above can be hosted outside         home, and inside another provider infrastructure. The connection         is established over internet connection that work on broader         range such as WiMax or FiOS (fiber optic link)     -   14. Power Button implementation—In that setup, a button or port         on one device such as desktop is connected to backend-system         directly or indirectly and implemented in button or port         specific fashion. For example, a power reset button accessed         from desktop, when pressed will send an electronic signal to         smart phone that tells smart phone as if power button on the         smart phone has been pressed. When the desktop is connected to a         backend guest OS that is hosted by hyper visor and a broker such         as zero client or smart phone establish the connection the power         reset is implemented in a different way. When the power button         on desktop is pressed, connection broker identify that even then         it send a signal to the hypervisor that a power reset button has         been pressed. Then the hypervisor would take action to power         down or reset the guest OS. Since Guest OS is running in virtual         environment it didn't have physical power button. However all         the functionality of the power button is implemented in such a         way user feel that the power button is connected to the Guest         OS.     -   15. Power/battery—zero clients that can be an individual         electronic devices or a smart phone can work as a zero client.         It can have its own battery source for its own power suitable         for connecting over wireless; it can connect to a port such as         USB or Ethernet that can deliver a network connection and power         as well. Power rating for zero clients is small enough to enable         it. Zero clients can store some power to drive some essential         elements of a larger computer including display and a touch pad         that can work as input devices.     -   16. Video conferencing—the sectional devices in some         combinations can help to establish video conference. Typically         video conferencing takes lot of bandwidth. Camera can be exposed         from multiple sections and one will be active based on how user         uses the configuration depending on smart phone, tablet or         desktop environment. Camera can capture video frame send to a         different user along with audio. An improvement is done here         where a software component identify prominent section of the         video frame captured by the capture device, then based on the         network connection it send area around the prominent section         more often than the whole frame. For example, eye and lips might         be considered as prominent sections. When not enough bandwidth         is available to transmit whole body frame, sending some         prominent sections will keep communication live and interactive.     -   17. Multi-purpose tablet—There are some devices that combine two         separate computers having its own hardware component into a         bigger computer. For example some device combines netbook and         tablet together.

Embodiment D Examplery Steps Users Takes TI Use Infratructure and Software as a Serfice

A home uses takes a step to call an ISP to install internet connection for his home. User either buys a smart modem or leases a smart modem from ISP. That smart modem works as a mini-cloud system. User can choose different models of mini-clouds that run VM locally or connect to a VM that runs on ISP infrastructure. Once ISP install internet connection for the users, users gets internet connection through the modem as usual with users existing computers. The modem can also work as a Ethernet router or wireless router. In addition the modem exports some ports user can connect his monitor and keyboard to get access to an additional computer, User can use that additional computer exposed through modem as primary or secondary computers. Now user can buy additional terminal that is supported by mini-cloud system bundled with the smart modem. Use can use those additional terminals as thin laptop, VDR box, game terminal, or additional PC. Those terminal exports needed ports to support a computing environments.

The modem designate one set of computer ports either through a terminal or attached port for administrative works. Once system is up and running, other terminal can access management interfaces for mini-cloud system. The management interfaces can a simple web portal where users can registers terminal, create a computing environment for a terminal, create computing environment in the cloud backed by ISP etc.

The administrative work can be setup and done by technical personal from ISP as well who can access mini-clouds system in users premise or in ISP data centers to create needed infrastructure a user needs and willing to pay.

If user has multiple computing devices on premise, user can choose to create a private network all his end points are connected to backed by a firewall. All those managements can be done by users or admin from ISP.

Here we took ISP as an example body, in reality any one can play ISP role. For example large corporation can have their own data center with mini-cloud systems. Individual branch office becomes their cliets. Smart modem for those branch offices are replaced by larger model of mini-cloud systems.

Once the infrastructure are up and running user can connect their thin terminal to a virtual machine running on local mini-cloud system or in the cloud. Once uses interact with the VM, based on users credentials, user can further access his subscription plan and adjust his plan, increate resources decrease resources etc. For example, user might need to use a 2 processor system for a video editing application for 2 weeks with large memory. User simply takes a step to add that requirement in his subscription plan, and attach those resources in some VM he owns or create a new VM. Users can reboot his system by pressing a power reset or software reset, next time user connect to the VM it run with two processor systems. If those resources are not available locally, users are given options if he wants to subscribe from actual cloud. Once set two weeks period expire, those resources are automatically removed from user subscription plan unless user want to continue to use them and pay for it.

Once user get access to subscription based infrastructure, the next natural issues come in what software application user can run on those infrastructure. User can add software application as resources to his subscription plan. User can also choose how many licenses they want and which VM should have access to it. Once user choose those resources using a subscription manager or some management console, an auto installer install those application to users systems without any intervention from users, So when users log-on he simply get access to those applications. The automatic installation can be done in many ways, such as using application streaming or writing a separate installation package that works better in mini-cloud environment.

Although the mini-cloud system to make infrastructure, software components, and digital content as a subscription based service has been described in language specific to structural features and/or methodological steps, it is to be understood that the actual implementation defined outlined above is not necessarily limited to the specific features or steps described. Rather, the specific features and steps are disclosed as preferred forms of implementing the claimed mini-cloud system to support subscription based computing model. It is also worth noting that some components and steps outlined here can be used outside mini-cloud systems. 

1. A mini-cloud system to transform computing infrastructure or software as a service comprising: a) mini-cloud device with an hypervisor that can host one or more guest virtual machine, b) at least one computer terminal connected to said mini-cloud system, c) a subscription management component that allows user to provision at least one guest Virtual machine and add that to user's subscription plan, d) A brokering step to connect said computer terminal to said guest Virtual Machine.
 2. Computer terminal as recited in claim 1 comprise a power reset button that reset virtual machine it connect to.
 3. Mini-cloud system as recited in claim 1 contains DSL modem component that can connect the device to internet or external network.
 4. Mini-cloud device as recited in claim 1 contains router component that allow the device to connect to external network and serve local network functioning as a networking hub.
 5. Router component as recited in claim 4 contains wireless network access point that's allows computer terminals to connect to mini cloud wirelessly.
 6. Computer terminal as recited in claim 1 contains ports available in a regular computer comprising a) keyboard port b) mouse port c) video port d) audio port e) microphone port d) network connection port f) USB port.
 7. Mini-cloud system as recited in claim 1 connect other mini-cloud system at remote locations or connects back end clouds for any updates related to subscription plan and any update on mini-cloud cache content or image library content.
 8. Mini-cloud devices as recited in claim 1 can be split into multiple infrastructure pieces each hosting a separate virtual computing environment.
 9. Brokering step as recited in claim 1 connect to guest virtual machine based on policy that establishes relationship among computer terminals, users, and virtual machine.
 10. A system as recited in claim 1 further comprises: a. a digital content checkout system that allow user to choose what application or content user want to use for a pre-set time, b. A deployment component that deploy a selected said application or content at one of the computing environment running on mini-cloud, c. A life cycle manager that update the deployed said application or content and remove whole foot print when subscription expires.
 11. A system as recited in claim 1 further comprises: a. an infrastructure check out system that allows user to select what computing environment they want to subscribe for a preset time, b. a deployment component that create said computing environment on mini-cloud hosts if mini-cloud has enough resources, c. Steps where said deployment component create said computing environment in the cloud and create another proxy computing environment on mini-cloud in such a way so that said proxy computing environment can connect to computing environment in the cloud.
 12. Mini-cloud as recited in claim 1 host virtual machine that contains two stack one to serve thin terminal and another one to serve conventional remote client from a group consisting of RDP VNC ICA and PCoIP.
 13. A system to deliver computing power to thin devices comprising: a) mini-cloud system with type-2 hypervisor that can host one or more emulator for different devices, b) at least one thin terminal connected to said mini cloud emulator, c) a control step to start emulated computing environment created by said emulator using said thin terminal, d) a delivery step to deliver said emulated computing environment to said thin terminal, thereby, allowing building power efficient devices like thin laptop, tablet or mobile devices that can be as powerful as full desktop without integrating all computing hardware.
 14. Emulator as recited in claim 13 create and run an computing environment that mimic another computing environment in such a way when the environment is delivered on a connected thin devices users simply feels the environment is running locally.
 15. Emulator as recited in claim 13 create an environment that consider the actual physical properties to create an illusion that the environment is running locally on the thin terminal.
 16. Thin terminal as recited in claim 13 is a device that has similar form factor of devices from a group consisting of a) laptop b) tablet c) mobile phone d) game console and e) Digital video recorder; however said thin terminal contains fewer components and rather connect to emulating computing environment.
 17. A system to encode and decode computing sessions comprising: a) mini-cloud card device with an array of hardware encoder chips to encode at least one graphics sessions, b) said mini-cloud card is hosted in an encoder server processing graphics session, c) at least one thin terminal receiving said graphics session, d) an scheduler component that allocate one said encoder chip for said graphics session, e) a step to collect graphics session data, encoded them using a scheduled encoder, and then delivers that to said thin terminal.
 18. Encoder server as recited in claim 17 receives graphics session from a virtual machine running on the same server.
 19. Encoder server as recited in claim 17 receives graphics session from a virtual machine running on another system.
 20. Encoder chip as recited in claim 17 contains at least one component from a group consisting of DSP, ASIC, and FPGA module. 